tests: use our own generated libtool, not the one in $PATH
authorSimon McVittie <smcv@debian.org>
Sun, 26 Jun 2016 12:56:05 +0000 (13:56 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sun, 26 Jun 2016 21:31:35 +0000 (21:31 +0000)
commitca899ccfd3458f651c383febc7f28e91d65fbb37
tree5550b799f36495c235b705288f9c4ca3f192fbc8
parentf38c33fec8f98812a4e8471b1e887930bd6d16c1
tests: use our own generated libtool, not the one in $PATH

libtoolize creates a version of libtool for the right architecture
in $(top_builddir), which is guaranteed to be present, and is
guaranteed to match what we are compiling (even during
cross-compilation).

Packaging systems sometimes separate /usr/bin/libtool, which is
specific to one architecture, from the libtool development files
such as libtoolize and ltmain.sh, which are architecture-independent.
For example, in Debian, libtool_*_all.deb contains the files necessary
to libtoolize a package and is depended on by the dh-autoreconf package,
but libtool-bin_*_amd64.deb (or whatever architecture) contains
/usr/bin/libtool and is not normally necessary to depend on.

Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #367
Approved by: cgwalters
Makefile-tests.am